package cn.project.engineering.receiver

import android.app.admin.DeviceAdminReceiver
import android.content.Context
import android.content.Intent
import log.KLog

/**
 *
 * @author  lifuhai
 * @date 2021/2/19 16:09
 */
class ScreenOffAdminReceiver : DeviceAdminReceiver() {
    companion object {
        private const val TAG = "ScreenOffAdminReceiver"
    }

    override fun onEnabled(context: Context, intent: Intent) {
        KLog.d(TAG, "设备管理器可用")
    }

    override fun onDisabled(context: Context, intent: Intent) {
        KLog.d(TAG, "设备管理器不可用")
    }
}